package ru.beta2.testyard.engine.points;

import ru.beta2.testyard.engine.HotspotEvent;
import ru.beta2.testyard.engine.SkipEntry;

/**
 * User: Inc
 * Date: 22.06.2008
 * Time: 21:46:32
 */
public class ChannelSkipEntry extends SkipEntry
{

    private final String type;

    public ChannelSkipEntry(String type)
    {
        super(null);
        this.type = type;
    }

    public boolean skip(HotspotEvent event)
    {
        return type.equals(event.getType());
    }
}
